package com.li.forum.service;

import com.li.forum.model.ArticleReply;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IArticleReplyService {
    
    /**
     * 新增帖子回复
     * @param articleReply
     */
    @Transactional
    void create(ArticleReply articleReply);
    
    //根据帖子Id查询所有的回复
    List<ArticleReply> selectByArticleId (Long articleId);
}
